<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>for循环遍历操作</title>
</head>
<body>
<script>
    // 循环样式
    /* for (起始值；判断条件；变量变化量){
        循环体
    * */
    let name = ["张三","万四","刘文","吴六"]
    for (let i=0;i<name.length;i++){
        console.log(name[i])
    }
</script>
</body>
</html>